home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-wos-src / vlink / makefile < prev    next >
Makefile  |  1999-01-01  |  2KB  |  48 lines

  1. CC = vc +warpos
  2. COPTS = -c
  3. CONFIG = -DHAVE_CONFIG -DTYPES32BIT \
  4.          -DBIGENDIAN -DAMIGAOS -DFASTALLOC \
  5.          -DADOS -DEHF -DELF32_PPC_BE -DELF32_POWERUP
  6. CLIBS = -lamiga
  7. DIR = AmigaWarpOS
  8.  
  9. vlinkobjects = $(DIR)/main.o $(DIR)/support.o $(DIR)/errors.o \
  10.                $(DIR)/linker.o $(DIR)/dir.o $(DIR)/relocnames.o \
  11.                $(DIR)/targets.o $(DIR)/t_amigaos.o \
  12.                $(DIR)/t_elf32.o $(DIR)/t_elf64.o
  13.  
  14. vlinkWOS: $(vlinkobjects)
  15.     $(CC) -o $(DIR)/version.o $(COPTS) $(CONFIG) version.c
  16.     $(CC) -o vlinkWOS $(vlinkobjects) $(DIR)/version.o $(CLIBS)
  17.  
  18.  
  19. $(DIR)/main.o: main.c vlink.h config.h ar.h
  20.     $(CC) -o $@ $(COPTS) $(CONFIG) main.c
  21.  
  22. $(DIR)/support.o: support.c vlink.h config.h ar.h
  23.     $(CC) -o $@ $(COPTS) $(CONFIG) support.c
  24.  
  25. $(DIR)/errors.o: errors.c vlink.h config.h ar.h
  26.     $(CC) -o $@ $(COPTS) $(CONFIG) errors.c
  27.  
  28. $(DIR)/linker.o: linker.c vlink.h config.h ar.h
  29.     $(CC) -o $@ $(COPTS) $(CONFIG) linker.c
  30.  
  31. $(DIR)/dir.o: dir.c vlink.h config.h ar.h
  32.     $(CC) -o $@ $(COPTS) $(CONFIG) dir.c
  33.  
  34. $(DIR)/relocnames.o: relocnames.c
  35.     $(CC) -o $@ $(COPTS) $(CONFIG) relocnames.c
  36.  
  37. $(DIR)/targets.o: targets.c vlink.h config.h ar.h
  38.     $(CC) -o $@ $(COPTS) $(CONFIG) targets.c
  39.  
  40. $(DIR)/t_amigaos.o: t_amigaos.c vlink.h config.h ar.h amigahunks.h
  41.     $(CC) -o $@ $(COPTS) $(CONFIG) t_amigaos.c
  42.  
  43. $(DIR)/t_elf32.o: t_elf32.c vlink.h config.h ar.h elf32.h elfcommon.h
  44.     $(CC) -o $@ $(COPTS) $(CONFIG) t_elf32.c
  45.  
  46. $(DIR)/t_elf64.o: t_elf64.c vlink.h config.h ar.h elf64.h elfcommon.h
  47.     $(CC) -o $@ $(COPTS) $(CONFIG) t_elf64.c
  48.